<div class="row">
	<div class="col-md-12">
		<!-- Custom Tabs -->
		<div class="nav-tabs-custom">
			<ul class="nav nav-tabs">
				<li>
					<a href="<?php echo base_url();?>employers/welcome" > Welcome</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>employers/profile"> View</a>
				</li>
				<li  class="active">
					<a href="<?php echo base_url(); ?>employers/edit-profile">Edit</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>employers/contact-persons">Contact Person</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>employers/modify-logo">Logo</a>
				</li>
				<li>
					<a href="<?php echo base_url(); ?>employers/video-presentation">Video Presentation</a>
				</li>
				<li class="dropdown pull-right">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="glyphicon glyphicon-user"/></i> <?php echo $username; ?> <span class="caret"></span> </a>
					<ul class="dropdown-menu">
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>employers/change-picture">Change Picture</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>employers/change-password">Change Password</a>
						</li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>employers/profile">Profile</a>
						</li>
						<li role="presentation" class="divider"></li>
						<li role="presentation">
							<a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>employers/logout">Logout</a>
						</li>
					</ul>
				</li>
				
			</ul>
			<div class="tab-content">
				<div class="tab-pane active" id="tab_1">
					<div class="box box-primary">
						<div class="box-header">
							<h4 class="box-title"><span style="color:#3C8DBC !important;">Edit your profile</span></h4>
						</div>

						<!-- the events -->
						<div id="external-events">
							<form role="form" class="remove-box-border" method="post" action="<?php echo base_url(); ?>employers/edit-profile">
								<div class="box-body">
									<div class="form-group">
										<label for="username">Username <span class="required">*</span></label>
										<input type="text" class="form-control" id="username" name="username" placeholder="Username" value="<?php echo $employer_info -> row() -> username; ?>" required="required">
										<?php echo form_error('username'); ?>
									</div>
									<div class="form-group">
										<label for="email">Email <span class="required">*</span></label>
										<input type="email" class="form-control" id="email" name="email" placeholder="Email" value="<?php echo $employer_info -> row() -> email; ?>" required="required">
										<?php echo form_error('email'); ?>
									</div>
									<div class="form-group">
										<label for="company">Company <span class="required">*</span></label>
										<input type="company" class="form-control" id="company" name="company" placeholder="Company Name" value="<?php echo $company_info -> row() -> name; ?>" required="required">
										<?php echo form_error('company'); ?>
									</div>
									<div class="form-group">
										<label for="website">Website </label>
										<input type="website" class="form-control" id="website" name="website" placeholder="Website" value="<?php echo $company_info -> row() -> website; ?>">
										<?php //echo form_error('last_name'); ?>
									</div>
									<div class="form-group">
										<label for="company_desc">Company Description</label>
										<textarea class="form-control" rows="6" name="company_desc"><?php echo $company_info -> row() -> description; ?></textarea>										
							<?php //echo form_error('company_desc'); ?>

									</div>

									<div class="form-group">
										<label for="address">Address</label>
										<textarea class="form-control" rows="6" name="address"><?php echo $company_info -> row() -> address; ?></textarea>
									</div>

									<div class="form-group">
										<label for="phone">Phone </label>
										<input type="text" class="form-control" id="phone" name="phone" placeholder="Phone" value="<?php echo $company_info -> row() -> phone; ?>">
										<?php //echo form_error('phone'); ?>
									</div>
									<div class="form-group">
										<label for="fax">Fax </label>
										<input type="fax" class="form-control" id="fax" name="fax" placeholder="Fax" value="<?php echo $company_info -> row() -> fax; ?>">
										<?php //echo form_error('last_name'); ?>
									</div>

								</div>
								<div class="box-footer">
									<div class="">
										<button class="btn btn-primary" type="submit">
											<i class="fa fa-fw fa-sign-in"></i> Save
										</button>
									</div>
								</div>
							</form>
						</div><!-- /.box-body -->

					</div><!-- /. end facebook fan page -->
				</div><!-- /.tab-pane -->
			</div><!-- /.tab-content -->
		</div><!-- nav-tabs-custom -->
	</div><!-- /.col -->
</div>

